package com.example.communist_app_api.service;

import com.example.communist_app_api.db.pojoDto.Comment;

import java.util.List;

public interface CommentService {
    List<Comment> getAllComment(Integer id);

    int insertComment(Comment comment);

    boolean deleteComment(Integer id);

    boolean UpdateLikeNum(Integer id);

    int insertNoComment(Integer userId,Integer articleId,String context);

    boolean deleteLikeNum(Integer id);

    List<Comment> getUnmoderatdeComment();

    boolean reviewComments(Integer userId,Integer id);

    List<Comment> getComment();
}
